package com.agent.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 工单
 */
@Data
public class WorkOrder implements Serializable{
    private int id;
    private String callerNumber;
    private String serialNo = "";
    private String problem = "";
    private Integer creator;
    private String status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;
    // 工单来源（1:电话报修 2:邮件报修3:微信报修）
    private String source = "";
    private String repairAddress = "";//报修地点
    private String repairRemark = "";//报修备注
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date expectRepairTime;//期望上门修复时间
    private String processSpecification = "";//维修处理说明
    private Boolean homeRepair;//是否上门维修
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date beginProcessTime;//开始处理时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date endProcessTime;//结束处理时间

    private String reason;//原因
    private String processRemark;//处理备注

    private String expectRepairTimeStr;





}
